var mongoose = require('mongoose'),
materializedPlugin = require('mongoose-materialized'),
Schema             = mongoose.Schema;

var CateSchema = new Schema({
type : Number,
title: { type: String }
});


CateSchema.plugin(materializedPlugin);
module.exports = mongoose.model('Cate', CateSchema,'cate');